<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>SILVERCODERS DocToText: plain_text_extractor.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SILVERCODERS DocToText
   &#160;<span id="projectnumber">4.0.1512</span>
   </div>
   <div id="projectbrief">Converts DOC, XLS, XLSB, PPT, RTF, ODF (ODT, ODS, ODP), OOXML (DOCX, XLSX, PPTX), iWork (PAGES, NUMBERS, KEYNOTE), ODFXML (FODP, FODS, FODT), PDF, EML and HTML documents to plain text. Extracts metadata and annotations.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">plain_text_extractor.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef DOCTOTEXT_PLAIN_TEXT_EXTRACTOR_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define DOCTOTEXT_PLAIN_TEXT_EXTRACTOR_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;attachment.h&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;exception.h&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;formatting_style.h&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;link.h&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">namespace </span>doctotext</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <span class="keyword">class </span>Metadata;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classdoctotext_1_1PlainTextExtractor.html">   38</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    {</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keyword">private</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            <span class="keyword">struct </span>Implementation;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            Implementation* impl;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">   50</a></span>&#160;            <span class="keyword">enum</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;                PARSER_AUTO,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;                PARSER_RTF,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                PARSER_ODF_OOXML,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                PARSER_XLS,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                PARSER_DOC,</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;                PARSER_PPT,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                PARSER_HTML,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                PARSER_IWORK,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                PARSER_XLSB,</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                PARSER_PDF,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                PARSER_TXT,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;                PARSER_EML,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;                PARSER_ODFXML</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            };</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#af3860236c37c8d1af576f21d8d0aa352">PlainTextExtractor</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type = PARSER_AUTO);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            ~<a class="code" href="classdoctotext_1_1PlainTextExtractor.html">PlainTextExtractor</a>();</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#af8c15ef99a89289ae637a5c746fe4ee7">setVerboseLogging</a>(<span class="keywordtype">bool</span> verbose);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#aecef3bac8503995043a7c2e2b349fa6f">setLogStream</a>(std::ostream&amp; log_stream);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a5ac048d5ddf37fc33d92773bf72d2f19">setFormattingStyle</a>(<span class="keyword">const</span> <a class="code" href="structdoctotext_1_1FormattingStyle.html">FormattingStyle</a>&amp; style);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            <span class="keywordtype">void</span> setXmlParseMode(XmlParseMode mode);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a9a88a00db3bcb3d1620e65ff681f7307">setManageXmlParser</a>(<span class="keywordtype">bool</span> manage);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a124e16439926713d9b0016634283b16f">parserTypeByFileExtension</a>(<span class="keyword">const</span> std::string&amp; file_name);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a124e16439926713d9b0016634283b16f">parserTypeByFileExtension</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* file_name);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">parserTypeByFileContent</a>(<span class="keyword">const</span> std::string&amp; file_name, <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&amp; parser_type);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">parserTypeByFileContent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* file_name, <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&amp; parser_type);</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">parserTypeByFileContent</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a>&amp; parser_type);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<span class="keyword">const</span> std::string&amp; file_name, std::string&amp; text);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* file_name, <span class="keywordtype">char</span>*&amp; text);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span>*&amp; text);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, std::string&amp; text);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> std::string&amp; file_name, std::string&amp; text);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> <span class="keywordtype">char</span>* file_name, <span class="keywordtype">char</span>*&amp; text);</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span>*&amp; text);</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">processFile</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, std::string&amp; text);</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<span class="keyword">const</span> std::string&amp; file_name, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* file_name, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> std::string&amp; file_name, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> <span class="keywordtype">char</span>* file_name, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;            <span class="keywordtype">bool</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">extractMetadata</a>(<a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">ParserType</a> parser_type, <span class="keywordtype">bool</span> fallback, <span class="keyword">const</span> <span class="keywordtype">char</span>* buffer, <span class="keywordtype">size_t</span> size, <a class="code" href="classdoctotext_1_1Metadata.html">Metadata</a>&amp; metadata);</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;            <span class="keywordtype">size_t</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a4fc8f75f79824cb8f562665dc4485240">getNumberOfLinks</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#ae281643a2d3a941686c4a8a500fd0524">getParsedLinks</a>(std::vector&lt;Link&gt;&amp; links) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#ae281643a2d3a941686c4a8a500fd0524">getParsedLinks</a>(<span class="keyword">const</span> <a class="code" href="classdoctotext_1_1Link.html">Link</a>*&amp; links, <span class="keywordtype">size_t</span>&amp; number_of_links) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <span class="keyword">const</span> <a class="code" href="classdoctotext_1_1Link.html">Link</a>* <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#ae281643a2d3a941686c4a8a500fd0524">getParsedLinks</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a95dd1825ecdf909785a0843e99df289c">getAttachments</a>(std::vector&lt;Attachment&gt;&amp; attachments) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;            <span class="keywordtype">void</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a95dd1825ecdf909785a0843e99df289c">getAttachments</a>(<span class="keyword">const</span> <a class="code" href="classdoctotext_1_1Attachment.html">Attachment</a>*&amp; attachments, <span class="keywordtype">size_t</span>&amp; number_of_attachments) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;            <span class="keyword">const</span> <a class="code" href="classdoctotext_1_1Attachment.html">Attachment</a>* <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#a95dd1825ecdf909785a0843e99df289c">getAttachments</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;            <span class="keywordtype">size_t</span> <a class="code" href="classdoctotext_1_1PlainTextExtractor.html#affe6580fb1d56d88062afc11cec3cfab">getNumberOfAttachments</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    };</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;}</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a64ee898ddf7450ff51d4f7026fa32697"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a64ee898ddf7450ff51d4f7026fa32697">doctotext::PlainTextExtractor::processFile</a></div><div class="ttdeci">bool processFile(const std::string &amp;file_name, std::string &amp;text)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html">doctotext::PlainTextExtractor</a></div><div class="ttdef"><b>Definition:</b> plain_text_extractor.h:38</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_af3860236c37c8d1af576f21d8d0aa352"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#af3860236c37c8d1af576f21d8d0aa352">doctotext::PlainTextExtractor::PlainTextExtractor</a></div><div class="ttdeci">PlainTextExtractor(ParserType parser_type=PARSER_AUTO)</div></div>
<div class="ttc" id="classdoctotext_1_1Attachment_html"><div class="ttname"><a href="classdoctotext_1_1Attachment.html">doctotext::Attachment</a></div><div class="ttdef"><b>Definition:</b> attachment.h:16</div></div>
<div class="ttc" id="classdoctotext_1_1Link_html"><div class="ttname"><a href="classdoctotext_1_1Link.html">doctotext::Link</a></div><div class="ttdef"><b>Definition:</b> link.h:20</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_aecef3bac8503995043a7c2e2b349fa6f"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#aecef3bac8503995043a7c2e2b349fa6f">doctotext::PlainTextExtractor::setLogStream</a></div><div class="ttdeci">void setLogStream(std::ostream &amp;log_stream)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_aa3445d0d4d4c9990d1f9fae82bae1eb8"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#aa3445d0d4d4c9990d1f9fae82bae1eb8">doctotext::PlainTextExtractor::parserTypeByFileContent</a></div><div class="ttdeci">bool parserTypeByFileContent(const std::string &amp;file_name, ParserType &amp;parser_type)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_affe6580fb1d56d88062afc11cec3cfab"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#affe6580fb1d56d88062afc11cec3cfab">doctotext::PlainTextExtractor::getNumberOfAttachments</a></div><div class="ttdeci">size_t getNumberOfAttachments() const </div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_af8c15ef99a89289ae637a5c746fe4ee7"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#af8c15ef99a89289ae637a5c746fe4ee7">doctotext::PlainTextExtractor::setVerboseLogging</a></div><div class="ttdeci">void setVerboseLogging(bool verbose)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a4fc8f75f79824cb8f562665dc4485240"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a4fc8f75f79824cb8f562665dc4485240">doctotext::PlainTextExtractor::getNumberOfLinks</a></div><div class="ttdeci">size_t getNumberOfLinks() const </div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a12fc8d7497365dd4e285d734b6f83440"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a12fc8d7497365dd4e285d734b6f83440">doctotext::PlainTextExtractor::extractMetadata</a></div><div class="ttdeci">bool extractMetadata(const std::string &amp;file_name, Metadata &amp;metadata)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_ae281643a2d3a941686c4a8a500fd0524"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#ae281643a2d3a941686c4a8a500fd0524">doctotext::PlainTextExtractor::getParsedLinks</a></div><div class="ttdeci">const Link * getParsedLinks() const </div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a124e16439926713d9b0016634283b16f"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a124e16439926713d9b0016634283b16f">doctotext::PlainTextExtractor::parserTypeByFileExtension</a></div><div class="ttdeci">ParserType parserTypeByFileExtension(const std::string &amp;file_name)</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a95dd1825ecdf909785a0843e99df289c"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a95dd1825ecdf909785a0843e99df289c">doctotext::PlainTextExtractor::getAttachments</a></div><div class="ttdeci">const Attachment * getAttachments() const </div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a5ac048d5ddf37fc33d92773bf72d2f19"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a5ac048d5ddf37fc33d92773bf72d2f19">doctotext::PlainTextExtractor::setFormattingStyle</a></div><div class="ttdeci">void setFormattingStyle(const FormattingStyle &amp;style)</div></div>
<div class="ttc" id="structdoctotext_1_1FormattingStyle_html"><div class="ttname"><a href="structdoctotext_1_1FormattingStyle.html">doctotext::FormattingStyle</a></div><div class="ttdef"><b>Definition:</b> formatting_style.h:28</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a4c9ea1205adaeb0293833cb342434ba8"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a4c9ea1205adaeb0293833cb342434ba8">doctotext::PlainTextExtractor::ParserType</a></div><div class="ttdeci">ParserType</div><div class="ttdef"><b>Definition:</b> plain_text_extractor.h:50</div></div>
<div class="ttc" id="classdoctotext_1_1Metadata_html"><div class="ttname"><a href="classdoctotext_1_1Metadata.html">doctotext::Metadata</a></div><div class="ttdef"><b>Definition:</b> metadata.h:10</div></div>
<div class="ttc" id="classdoctotext_1_1PlainTextExtractor_html_a9a88a00db3bcb3d1620e65ff681f7307"><div class="ttname"><a href="classdoctotext_1_1PlainTextExtractor.html#a9a88a00db3bcb3d1620e65ff681f7307">doctotext::PlainTextExtractor::setManageXmlParser</a></div><div class="ttdeci">void setManageXmlParser(bool manage)</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
